package com.ruoyi.ma.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.ma.domain.MaMaterialSupplier;
import com.ruoyi.ma.domain.bo.MaMaterialSupplierBo;
import com.ruoyi.ma.domain.vo.MaMaterialSupplierVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 材料供应商信息Mapper接口
 *
 * @author tll
 * @date 2024-11-18
 */
public interface MaMaterialSupplierMapper extends BaseMapperPlus<MaMaterialSupplierMapper, MaMaterialSupplier, MaMaterialSupplierVo> {

    Page<MaMaterialSupplierVo> page(Page<Object> build, @Param(Constants.WRAPPER) Wrapper<MaMaterialSupplier> lqw, @Param("bo") MaMaterialSupplierBo bo);

    MaMaterialSupplierVo getById(@Param("supplierId") Long supplierId);
}
